home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
HARDWARE
/
OPTOSER
/
TextStory
< prev
Wrap
Text File
|
1993-12-25
|
3KB
|
63 lines
RS232 OPTO ISOLATOR
Construction Details
Introduction
This project provides isolation between a peripheral and a computer connected via an RS232
port. All inputs/outputs are isolated with the exception of RI (Ring Indicator) which is not
implemented. The circuit requires a single +5V power source. The project will cost about
£35 pounds to build and you will need to be familiar with constructing a circuit on strip
board. Although not essential, a multimeter will aid testing and fault finding.
Outline
Each RS232 signal is converted to TTL using a 1489 RS232 Receiver IC; the TTL signal
drives the LED in an opto-isolator. The corresponding photo-transistor is used to drive the
input of a 1488 RS232 Driver IC. Power supplies for the drivers/receivers are generated
using two integrated isolating DC-DC voltage converter modules.
Components
The opto-isolators and DC-DC converters are available from Farnell.
Circuit
The complete circuit is shown below. RI is not implemented as this would require an
additional opto-isolator, driver and receiver. Note that one of the isolation channels is not
used and you may wish to save on some wiring and by not implementing it or you can just
tie the input to ground. In the prototype a 1M resistor was connected between the grounds of
the two sides to allow any static charge to dissipate. Alternatively you may wish to provided
a direct connection between the two sides (note though that LARGE currents will flow if
there is a voltage difference between the two sides....).
Construction
The circuit should be built on strip board or you may wish to design a PCB. Try and keep
the two sides of the circuit separate and if using strip board ensure the tracks under the opto-
isolators are well cut as any shorts here may not impair operation but will render the
isolation ineffective.
Construct the circuit and connect the D connectors using screened cable, remembering to
connect the screen to the chassis of the connectors. Do not connect the 1M resistor or
ground link between the two sides yet.
Before inserting the driver, receiver and isolator IC's you should check with a voltmeter the
correct supply voltages are available on the correct pins when a +5V supply is connected.
When you have this working insert the remaining IC's, connect the multimeter to an output
and try pulling the corresponding input high/low by connecting it to the appropriate +12/-12
supply rail (use the correct side of the circuit!), the output should change between nearly
+12V and -12V. Repeat this for all inputs / outputs.
You should now measure the resistance between the two sides before connecting the 1M or
ground link. There should be no measurable resistance.
Finally connect the 1M or ground link, and tidy up any lose ends such as the power
connector. It is suggested the circuit is housed in a metal box with two trailing D connectors
for data and a locking phono plug/socket arrangement for power. The second floppy power
connector is useful for this but a fuse should be included.
If all is ok, you are ready to test the circuit on your RS232 port.
Operation
The circuit should be completely transparent in operation. It has been tested and is known to
work reliably between an A5000 and a PC, two PC's, an A5000 and A310, an A5000 and
various pieces of electronic test equipment.